home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #6
/
Amiga Plus CD - 2004 - No. 06.iso
/
AmigaPlus
/
Begleitmaterial
/
50Tools
/
Grafik
/
PerfectPaint
/
rexx
/
Alchemy
/
Script
/
FlowerPaint.rx
< prev
next >
Wrap
Text File
|
2001-10-23
|
1KB
|
80 lines
/* Alchemy script
100
1
3
*/
options results
parse ARG Port x1 y1 x2 y2 type b
ADDRESS value Port
pp_ClosestColor 0 0 0
Black=result
pp_SetApen Black
Tot=9
pp_AvoidRefresh
pp_Progresstext 'FlowerPaint'
pp_UpdateUndoBox x1-1 y1-1 x2+1 y2+1
pp_ComposeReqOff
pp_Compose 0 100 0
pp_Progress 1 Tot
pp_EffectOn
pp_BlurH 20
pp_BoxF x1 y1 x2 y2
pp_Progress 2 Tot
pp_Sin 1 2 100 2 100
pp_BoxF x1 y1 x2 y2
pp_Progress 3 Tot
pp_Sin 1 5 326 5 326
pp_BoxF x1 y1 x2 y2
IF Type>0 then DO
pp_Progress 4 Tot
pp_Sin 1 8 680 8 680
pp_BoxF x1 y1 x2 y2
END
IF Type>1 then DO
pp_Progress 5 Tot
pp_Sin 1 15 900 15 900
pp_BoxF x1 y1 x2 y2
END
IF Type>2 then DO
pp_Progress 6 Tot
pp_Sin 1 30 1300 30 1300
pp_BoxF x1 y1 x2 y2
END
pp_Progress 7 Tot
pp_GaussianBlur 3
pp_BoxF x1 y1 x2 y2
pp_Progress 8 Tot
pp_ConvInit 0 1 0
A=-1
pp_Conv 0 0 0 0 0 0
pp_Conv 1 0 0 A 0 0
pp_Conv 2 0 A 5 A 0
pp_Conv 3 0 0 A 0 0
pp_Conv 4 0 0 0 0 0
pp_BoxF x1 y1 x2 y2
pp_Progress 9 Tot
pp_EffectOff
pp_Pentype 0
pp_Box x1 y1 x2 y2
pp_ComposeReqOn
pp_PermitRefresh
pp_Progressclr
Exit